//登录
//李绍军

const mongoose = require('../db')

// 用户表
const userSchema = new mongoose.Schema({
    username:{     //用户密码
        type:String,
        required:true
    },
    password:{
        type:String,
        required:true
    }
})
const userModel = mongoose.model('user',userSchema,'user')



module.exports = {
    userModel
}